import request from '@/utils/request'
export function auditPerfect(form){
  return request({
    url: '/certificate/perfect/audit',
    method: 'put',
    data: {
      id:form.id,
      examineStatus:form.examineStatus,
      examineMsg:form.examineMsg
    }
  })
}
// 查询用户完善信息列表
export function listPerfect(query) {
  return request({
    url: '/certificate/perfect/list',
    method: 'get',
    params: query
  })
}

// 查询用户完善信息详细
export function getPerfect(id) {
  return request({
    url: '/certificate/perfect/' + id,
    method: 'get'
  })
}

// 新增用户完善信息
export function addPerfect(data) {
  return request({
    url: '/certificate/perfect',
    method: 'post',
    data: data
  })
}

// 修改用户完善信息
export function updatePerfect(data) {
  return request({
    url: '/certificate/perfect',
    method: 'put',
    data: data
  })
}

// 删除用户完善信息
export function delPerfect(id) {
  return request({
    url: '/certificate/perfect/' + id,
    method: 'delete'
  })
}
